Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "id": 1,
  "name": "dsa2",
  "percent_off": 10.0,
  "created_at": "2022-08-16T16:00:04.482Z",
  "stripe_id": "7Ot6KyLe"
}

Params

Param name Description
id
required

Validations:

  • Must be a Integer